#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
    char m;
    char ch[120];
    int i = 0;
    int index = -1;
    scanf("%c\n", &m);
    gets(ch);
    while (ch[i] != '\0')
    {
        if (ch[i] == m)
            index = i;
        i++;
    }
    printf(index == -1 ? "Not Found" : "index = %d", index);
    return 0;
}